{% extends 'base.html' %}

{% block content %}
 <form method="post">
    {% csrf_token %}
     <div class="container">
         <div class="form-group">
         <label>{{ form.username.label }}</label>
         {{ form.username }}
         {{ form.username.errors }}
     </div>
      <div class="form-group">
             <label>{{ form.email.label }}</label>
             {{ form.email }}
             {{ form.email.errors }}
      </div>
      <button type="submit" class="btn btn-primary">提 交</button>
     </div>
 </form>
{% endblock %}